package models

// Buyxingbi undefined
type Buyxingbi struct {
	ID          int64   `json:"id" gorm:"id"`
	Uid         int64   `json:"uid" gorm:"uid"`
	Price       float64 `json:"price" gorm:"price"`
	Thalicoinid int64   `json:"thalicoinid" gorm:"thalicoinid"`
	Coin        float64 `json:"coin" gorm:"coin"`
	Jscoin      float64 `json:"jscoin" gorm:"jscoin"`
	Addtime     int64   `json:"addtime" gorm:"addtime"`
	Status      int64   `json:"status" gorm:"status"`
	Orderno     string  `json:"orderno" gorm:"orderno"`
}
type Buyxingbisql struct {
	ID          int64   `json:"id" gorm:"id"`
	Uid         int64   `json:"uid" gorm:"uid"`
	Price       float64 `json:"price" gorm:"price"`
	Thalicoinid int64   `json:"thalicoinid" gorm:"thalicoinid"`
	Coin        float64 `json:"coin" gorm:"coin"`
	Jscoin      float64 `json:"jscoin" gorm:"jscoin"`
	Addtime     int64   `json:"addtime" gorm:"addtime"`
	Status      int64   `json:"status" gorm:"status"`
	Orderno     string  `json:"orderno" gorm:"orderno"`
	Phone       string  `json:"phone" gorm:"phone"`       // 手机号
	Nickname    string  `json:"nickname" gorm:"nickname"` // 昵称
}

// TableName 表名称
func (*Buyxingbi) TableName() string {
	return "buyxingbi"
}
